package ar.edu.unlam.tpfinal.service;

import java.util.Collection;
import java.util.List;

import org.apache.struts.util.LabelValueBean;

import ar.edu.unlam.tpfinal.model.Client;
import ar.edu.unlam.tpfinal.model.Transaction;
import ar.edu.unlam.tpfinal.result.ProcessResult;
import ar.edu.unlam.tpfinal.struts.forms.TransactionForm;

public interface TransactionService {
	
	public ProcessResult saveTransaction(TransactionForm transactionForm);
	
	public ProcessResult deleteTransaction(TransactionForm transactionForm);
	
	public List<TransactionForm> listTransaction();
	
	public List<Transaction> getAllTransactions();
	
	public List<LabelValueBean> getAllClients();
	
	public List<Transaction> getLastNTransactions(int amountOfRecords);
	
	public List<Transaction> getHighestPriorityNTransactions(int amountOfRecords);

	public TransactionForm getTransactionByOID(Long oid);

	public List<LabelValueBean> getAllPriorities();
	
	public List<LabelValueBean> getAllTransactionTypes();

	public List<LabelValueBean> getAllStatus();
	
}
